<%
    String pag = "";//req.getRequestValue("pag");
    if (request.getParameter("pag") != null) {
        pag = request.getParameter("pag");
    }

    if (pag.compareTo("") == 0) {%>

<div class="hero-unit">
    <h1>Bienvenido!</h1>

    Seleccione una opci&oacute;n del menu
    
    <!--<form method="post" class="form-horizontal" action="?pag=finder" id="searchform">
        <fieldset>
            <div id="legend" class="">
                <!--<legend class="">Form Name</legend> --
                <div class="control-group">
                    <div class="controls">
                        <input placeholder="texto a buscar" class="input-xlarge" type="text" name="valor" id="cajabusqueda">
                        <br>
                        <input type="checkbox" name="roles" value="educacion">Educaci&oacute;n
                        <input type="checkbox" name="roles" value="Noticias">Noticias
                        <input type="checkbox" name="roles"  value="empresas">Empresas

                        <p><br><button class="btn btn-success" onclick="submit();">Buscar</button><span id="acceptlabel">Presione Buscar</span></p>
                    </div>
                </div>
            </div>
        </fieldset>
    </form> -->
</div>

<%  } else {
    pag = "pages/" + pag;
    pag += ".jsp";
%>
<jsp:include page="<%=pag%>" flush="true"/>
<%
    }
%>